package com.managementSystem.client.event;

import com.google.gwt.event.shared.GwtEvent;
import com.managementSystem.client.event.AuthenticateStaffEventHandler;

public class AuthenticateStaff extends GwtEvent<AuthenticateStaffEventHandler> {
	public static Type<AuthenticateStaffEventHandler> TYPE = new Type<AuthenticateStaffEventHandler>();

	@Override
	public Type<AuthenticateStaffEventHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(AuthenticateStaffEventHandler handler) {
		handler.onLogin(this);
	}
}
